package com.jochen.core.components

import com.artemis.Component
import com.jochen.core.logic.Resourceable
import com.jochen.core.logic.building.*

class Building: Component(){
    val unbuiltRes = mutableMapOf<Resourceable,Int>()//初始化添加
    val roadList = mutableListOf<Int>()//链接道路实体id
    var isConstructionFinished: Boolean = false // 是否建造完成
    var level: Int = 1//当前等级
    var MAX_LEVEL: Int = 1//最大等级，可动态修改
    
    var isInitFinis: Boolean = false
    var SwitchRegion: Boolean = true
    
    lateinit var buildingData: Buildingable
}